﻿using System;

namespace EventsExample
{
    class MagazineEventArgs : EventArgs
    {
        private readonly int _volume;

        public string Name { get; }

        //public string Name => _name;

        //public string Name
        //{
        //    get { return _name; }
        //}

        public int Volume => _volume;

        public MagazineEventArgs(string name, int volume)
        {
            Name = name;
            _volume = volume;
        }
    }
}